projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d5a8c
)
interface: make __interface_set_down() static
author
Hans Dedecker
<
[email protected]
>
Mon, 20 Aug 2018 12:21:06 +0000
(14:21 +0200)
committer
Hans Dedecker
<
[email protected]
>
Mon, 20 Aug 2018 12:51:44 +0000
(14:51 +0200)
Signed-off-by: Hans Dedecker <
[email protected]
>
interface.c
patch
|
blob
|
history
interface.h
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index e143095d3d4b5688c0aad84cedb999e76f726e79..6fa51fa92f282980ac18cf70729ceb11d5a4b382 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-284,7
+284,7
@@
mark_interface_down(struct interface *iface)
system_flush_routes();
}
-void
+
static
void
__interface_set_down(struct interface *iface, bool force)
{
enum interface_state state = iface->state;
diff --git
a/interface.h
b/interface.h
index 2b8b3b6ee52942d784f7ca0c250c0aecc14804f0..95d8f3c17b6b74f7000d42f652a84fae15fc6e0a 100644
(file)
--- a/
interface.h
+++ b/
interface.h
@@
-186,7
+186,6
@@
void interface_set_proto_state(struct interface *iface, struct interface_proto_s
void interface_set_available(struct interface *iface, bool new_state);
void interface_set_up(struct interface *iface);
int interface_set_down(struct interface *iface);
-void __interface_set_down(struct interface *iface, bool force);
int interface_renew(struct interface *iface);
void interface_set_main_dev(struct interface *iface, struct device *dev);